<?php
class user extends spController{
	function index()
	{
		$this->display("admin/login.html");
	}
	
	function login()
	{
		$uname = $this->spArgs("user");
		$chkcode=$this->spArgs("chknumber");
		$pwd=$this->spArgs("pwd");
		//$chkcode=spClass("checknum");
		//$chkd=new 
		//$chkcode->setImage(array('width'=>200da,'height'=>20));
		//$this->imgcode=paint();
		//echo $uname."<br/>".$chkcode.$pwd;
		//echo "<a href=?c=main&a=m&".base64_encode(md5(time())).">fadas</a>";
		$url="<a href=?c=main&a=m&".base64_encode(md5(time())).">Continue...</a>";
		echo $url;
	}
}
?>